﻿﻿using System.Web;
using System.Web.Optimization;

namespace MyCart
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/base")
                .IncludeDirectory("~/Scripts/", "*.js"));

            bundles.Add(new ScriptBundle("~/bundles/vms")
                .IncludeDirectory("~/ViewModel/", "*.js"));

            bundles.Add(new StyleBundle("~/Content/css")
                .Include("~/Content/site.css"));

            bundles.Add(new StyleBundle("~/Content/themes/base/css")
                .IncludeDirectory("~/Content/themes/base/", "*.css"));

        }
    }
}